::vmkey安装脚本

cd /d %~dp0
Set INSTALL_PATH=%cd%
set VMKEY_BIN_PATH=%INSTALL_PATH%\bin


::停止并卸载已安装的服务
net stop LM_VMKey_Server
sc delete LM_VMKey_Server


::vmkey安装配置
sc create LM_VMKey_Server binpath= "%VMKEY_BIN_PATH%\LM_VMKey_Server.exe"
sc config LM_VMKey_Server start= AUTO
net start LM_VMKey_Server


::pause